package neo.tetris.bean.model.battle;

import neo.tetris.bean.conf.BattleConfPlayer;
import neo.tetris.bean.model.tetris.Tetris;

abstract public class BattlePlayer {
	final public Battle battle;

	final public int index;

	public String name;

	public boolean isReady;

	public boolean isHost;

	public BattleConfPlayer conf;
	
	final public Tetris tetris;
	
	public boolean surrender;

	public BattlePlayer(Battle battle, int index, BattleConfPlayer conf) {
		super();

		this.battle = battle;
		this.index = index;
		this.name = conf.name;
		this.conf = conf;
		this.tetris = new Tetris();
	}
}
